package com.ticket.service;

import com.ticket.pojo.PageBean;
import com.ticket.pojo.Plane;

import java.util.List;

public interface PlaneService {
    List<Plane> selectAll();

    void add(Plane plane) ;

    void update(Plane plane);
    void deleteById(int id);

    void deleteByIds(int[] ids);

    PageBean<Plane> selectByPage(int currentPage, int pageSize);

    PageBean<Plane> selectByPageAndCondition(int currentPage,int pageSize,Plane plane);
}
